package com.chushouya.product.dto.api.evaluatedata;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("获取产品主信息和产品的SKU属性信息")
public class EvaluateDataRequestApiDTO {

    @ApiModelProperty(name = "产品ID", example = "106547")
    @NotNull(message = "产品ID不能为空")
    private Long productId;

    @ApiModelProperty(name = "skuCode", example = "100001:100001,100003:100017,100002:100069,100004:100031")
    @NotNull(message = "skuCode不能为空")
    private String skuCode;

    @ApiModelProperty(name = "skuID",example = "152869")
    @NotNull(message = "skuID不能为空")
    private Long skuId;

    @ApiModelProperty(name = "evaluateCode", example = "200001:4469078,200003:4469090,200004:4469094,200005:4469099,200006:4469103,200007:4469108,200002:4469127,200009:4469146,200009:4469147,200009:4469148,200009:4469149,200009:4469150,200009:4469151")
    @NotNull(message = "evaluateCode不能为空")
    private String evaluateCode;
}
